<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<?php echo $this->_var['site_url']; ?>/" />

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7 charset=<?php echo $this->_var['charset']; ?>" />
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->_var['charset']; ?>" />
<?php echo $this->_var['page_seo']; ?>
<meta name="author" content="www.<?php echo $this->_var['subdomain_suffix']; ?>" />
<meta name="copyright" content="www.<?php echo $this->_var['subdomain_suffix']; ?> Inc. All Rights Reserved" />
<link href="<?php echo $this->res_base . "/" . 'css/liangcaijian.css'; ?>" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="<?php echo $this->_var['site_url']; ?>/favicon.ico" type="image/x-icon" />
<script type="text/javascript" src="<?php echo $this->_var['site_url']; ?>/index.php?act=jslang"></script>
<script type="text/javascript" src="<?php echo SITE_URL."/includes/libraries/javascript/" . 'jquery.js'; ?>" charset="utf-8"></script>
<script type="text/javascript" src="<?php echo SITE_URL."/includes/libraries/javascript/" . 'moonyes.js'; ?>" charset="utf-8"></script>
<?php echo $this->_var['_head_tags']; ?>
</head>
<body>
<div id="head_jiandan">
  <div class="left"><a href="<?php echo $this->_var['site_url']; ?>" title="<?php echo $this->_var['site_title']; ?>"><img alt="<?php echo $this->_var['site_title']; ?>" src="<?php echo $this->_var['site_url']; ?>/<?php echo $this->_var['site_logo']; ?>" /></a></div>
 <div class="right">
   <div class="jiandan">
    <?php if (! $this->_var['visitor']['user_id']): ?>
    <a href="<?php echo $this->_var['site_url']; ?>/<?php echo url('app=member&act=register&ret_url=' . $this->_var['ret_url']. ''); ?>">免费注册</a><em>|</em><a href="<?php echo $this->_var['site_url']; ?>/<?php echo url('app=member&act=login&ret_url=' . $this->_var['ret_url']. ''); ?>">请登录</a><em>|</em>
    <?php else: ?>
    你好，亲爱的 <a href="<?php echo $this->_var['site_url']; ?>/<?php echo url('app=member'); ?>"  style="color:#F00"><?php echo htmlspecialchars($this->_var['visitor']['user_name']); ?></a>！ <a href="<?php echo $this->_var['site_url']; ?>/<?php echo url('app=member&act=logout'); ?>" >退出</a><em>|</em><a href="<?php echo $this->_var['site_url']; ?>/<?php echo url('app=message&act=newpm'); ?>">消息中心<?php if ($this->_var['new_message']): ?>(<font style="color:red"><?php echo $this->_var['new_message']; ?></font>)<?php endif; ?></a><em>|</em>
    <?php endif; ?>   
    <a href="<?php echo $this->_var['site_url']; ?>">返回首页</a>
  </div>
 </div>
</div>
